package Entidades;

import java.io.Serializable;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

@Entity
@Table(name="Mozo")
@PrimaryKeyJoinColumn(name="idRol")
public class Mozo extends Rol implements Serializable {
	private static final long serialVersionUID = 1L;
	
	@Column(nullable=false, name="comision")
	private float comision;
	
	
}
